<?php
date_default_timezone_set('America/Los_Angeles');
include'connect_db.php';

$result = mysql_query("SELECT * FROM option_list WHERE name = 'Booster %'");
$row = mysql_fetch_array($result);
$booster_percent = $row['value'];

$result = mysql_query("SELECT * FROM option_list WHERE name = 'Admin %'");
$row = mysql_fetch_array($result);
$admin_percent = $row['value'];

$result = mysql_query("SELECT * FROM option_list WHERE name = 'Admin paypal'");
$row = mysql_fetch_array($result);
$admin_paypal = $row['value'];

$result = mysql_query("SELECT * FROM option_list WHERE name = 'Admin payments'");
$row = mysql_fetch_array($result);
$admin_payments = $row['value'];

$result = mysql_query("SELECT * FROM option_list WHERE name = 'Current season'");
$row = mysql_fetch_array($result);
$current_season = $row['value'];

$result = mysql_query("SELECT * FROM site_message WHERE name = 'Home message'");
$row = mysql_fetch_array($result);
$home_message = $row['message'];

$result = mysql_query("SELECT * FROM site_message WHERE name = 'Skype info'");
$row = mysql_fetch_array($result);
$skype_info = $row['message'];

$result = mysql_query("SELECT * FROM site_message WHERE name = 'Booster warning'");
$row = mysql_fetch_array($result);
$booster_warning = $row['message'];

$result = mysql_query("SELECT * FROM site_message WHERE name = 'Boost message'");
$row = mysql_fetch_array($result);
$boost_message = $row['message'];

$result = mysql_query("SELECT * FROM site_message WHERE name = 'Per win message'");
$row = mysql_fetch_array($result);
$per_win_message = $row['message'];

$result = mysql_query("SELECT * FROM site_message WHERE name = 'Booster application'");
$row = mysql_fetch_array($result);
$booster_application = $row['message'];

$result = mysql_query("SELECT * FROM site_message WHERE name = 'Duo per game message'");
$row = mysql_fetch_array($result);
$duo_per_game = $row['message'];

$result = mysql_query("SELECT * FROM site_message WHERE name = 'Duo per win message'");
$row = mysql_fetch_array($result);
$duo_per_win = $row['message'];

$result = mysql_query("SELECT * FROM site_message WHERE name = 'Duo coaching message'");
$row = mysql_fetch_array($result);
$duo_coaching = $row['message'];

$result = mysql_query("SELECT * FROM site_message WHERE name = 'Referral message'");
$row = mysql_fetch_array($result);
$referral_message = $row['message'];

$result = mysql_query("SELECT * FROM site_message WHERE name = 'Leveling message'");
$row = mysql_fetch_array($result);
$leveling_message = $row['message'];

$result = mysql_query("SELECT * FROM site_message WHERE name = 'Signup message'");
$row = mysql_fetch_array($result);
$signup_message = $row['message'];

$result = mysql_query("SELECT * FROM site_message WHERE name = 'New order message'");
$row = mysql_fetch_array($result);
$new_order_message = $row['message'];

$result = mysql_query("SELECT * FROM site_message WHERE name = 'Booster home message'");
$row = mysql_fetch_array($result);
$booster_message = $row['message'];

$result = mysql_query("SELECT * FROM site_message WHERE name = 'Admin home message'");
$row = mysql_fetch_array($result);
$admin_message = $row['message'];

$result = mysql_query("SELECT * FROM site_message WHERE name = 'Customer home message'");
$row = mysql_fetch_array($result);
$customer_message = $row['message'];

$result = mysql_query("SELECT * FROM site_message WHERE name = 'Booster app confirmation'");
$row = mysql_fetch_array($result);
$app_confirmation = $row['message'];

$result = mysql_query("SELECT * FROM site_message WHERE name = 'Booster order message'");
$row = mysql_fetch_array($result);
$booster_order_message = $row['message'];

$result = mysql_query("SELECT * FROM site_message WHERE name = 'Booster duo message'");
$row = mysql_fetch_array($result);
$booster_duo_message = $row['message'];

$result = mysql_query("SELECT * FROM site_message WHERE name = 'Completion email'");
$row = mysql_fetch_array($result);
$order_complete_message = $row['message'];

$result = mysql_query("SELECT * FROM site_message WHERE name = 'Customer order message'");
$row = mysql_fetch_array($result);
$customer_order_message = $row['message'];

$result = mysql_query("SELECT * FROM site_message WHERE name = 'Booster signup email'");
$row = mysql_fetch_array($result);
$booster_signup_email = $row['message'];

$result = mysql_query("SELECT * FROM site_message WHERE name = 'Account purchase message'");
$row = mysql_fetch_array($result);
$account_purchase_message = $row['message'];
?>